<% content_for :javascript_link_tags do %>
<%= javascript_include_tag ['/assets/moment.min.js',
                            '/assets/admin/models/dcmgr.js',
                            '/assets/admin/collections/detail_collection.js',
                            '/assets/admin/views/detail_view.js',
                            '/assets/admin/controllers/images/detail_controller.js',
			    '/assets/admin/helpers.js',
] %>
<% end %>

<% content_for :stylesheet_link_tags do %>
<% end %>

    <div class="span8">
      <div id="content"></div>
      <script type="text/template" id="detailImage">
      <div class="control-group">
      <div class="controls">
      <ul class="breadcrumb">
        <li><a href="/">ホーム</a> <span class="divider">/</span></li>
        <li>マシンイメージ<span class="divider">/</span></li>
        <li class="active">ID: {{ uuid }}</li>
      </ul>
      </div>
      <form class="form-detail form-horizontal form-horizontal-fix">
      <div class="control-group">
        <legend>マシンイメージ詳細</legend>
      </div>
      <div class="control-group">
        <label class="control-label">WMI ID:</label>
        <div class="controls">
          <p>{{ uuid }}</p>
        </div>
      </div>
      <div class="control-group">
        <label class="control-label">イメージ名:</label>
        <div class="controls">
          <p>{{ display_name }}</p>
        </div>
      </div>
      <div class="control-group">
        <label class="control-label">説明:</label>
        <div class="controls">
          <p>{{ description }}</p>
        </div>
      </div>
      <div class="control-group">
        <label class="control-label">オーナー:</label>
        <div class="controls">
          <p>{{ account_id }}</p>
        </div>
      </div>
      <div class="control-group">
        <label class="control-label">アーキテクチャ:</label>
        <div class="controls">
          <p>{{ arch }}</p>
        </div>
      </div>
       <div class="control-group">
        <label class="control-label">状態:</label>
        <div class="controls">
          <p>{{ state }}</p>
        </div>
      </div>
       <div class="control-group">
        <label class="control-label">作成日時:</label>
        <div class="controls">
          <p>{{ app.helpers.date_ja.parse(created_at) }}</p>
        </div>
      </div>
       <div class="control-group">
        <label class="control-label">更新日時:</label>
        <div class="controls">
          <p>{{ app.helpers.date_ja.parse(updated_at) }}</p>
        </div>
      </div>

      </form>
      </script>
    </div>
</div>
